package io.lkt.task.bus.mapper.log;

import io.lkt.task.bus.model.log.PushDetailLog;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "pushDetailLogMapper")
public interface PushDetailLogMapper {

    int addPushDetailLog(PushDetailLog pushDetailLog);

    Integer getSuccessCount(Integer headId);

    Integer getErrCount(Integer headId);

    List<PushDetailLog> getErrListByHeadId(Integer headId);

    int updatePushDetailLog(Integer id);

}